from . import views
from django.urls import path

urlpatterns = [
    path('check/username/<str:name>/', views.CheckUser.as_view()),
    path('check/mobile/<str:mobile>/', views.CheckMobile.as_view()),
    path('image_code/<str:img_id>/', views.GetImage.as_view()),
    path('check_image_code/', views.CheckImage.as_view()),
    path('register/', views.Register.as_view()),
    path('login/', views.Login.as_view()),
    path('logout/', views.LoginOut.as_view()),
    path('userInfo/', views.UserInfo.as_view()),
    path('add_addresses/', views.AddAddresses.as_view()),
    path('updateUserInfo/', views.UpdateUserInfo.as_view()),
    path('deleteAddr/', views.DelAddressInfo.as_view()),
    path('updatePassword/', views.UpdatePassword.as_view()),
]
